package com.cf.user.permission.vo;

import com.cf.user.permission.model.SystemPermission;

import java.util.ArrayList;
import java.util.List;

/**
 * game-server-Menu
 *
 * @author <a href="2428922347@qq.com">Zhu mingming</a>
 * @info
 * @since 2018/5/29 下午 05:57
 */
public class Menu extends SystemPermission {

    private List<SystemPermission> child = new ArrayList<>();

    public void addChild(SystemPermission permission) {
        this.child.add(permission);
    }

    public List<SystemPermission> getChild() {
        return child;
    }

    public void setChild(List<SystemPermission> child) {
        this.child = child;
    }
}
